#pragma once

class CBkTabCtrl : public CWindowImpl<CBkTabCtrl,CTabCtrl>
{
public:
	CBkTabCtrl(void);
	virtual ~CBkTabCtrl(void);

	void SetBkBrush( HBRUSH hBrush );

	LRESULT OnPaint(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/);

	BEGIN_MSG_MAP(CBkTabCtrl)
	//	MESSAGE_HANDLER(WM_PAINT, OnPaint)
		MESSAGE_HANDLER(WM_ERASEBKGND, OnEraseBkgnd)
		DEFAULT_REFLECTION_HANDLER()
	END_MSG_MAP()

protected:

	HBRUSH m_hBkBrush;

public:
	LRESULT OnEraseBkgnd(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/);
};
